﻿package  {		import flash.display.*;		public class Ant extends Sprite {    static private var cycle:int = 0;			public function Ant(hero:Boolean = false) {				var mc:MovieClip = new Main.Ant_walking() as MovieClip;						if(hero)				graphics.beginFill(0xFF0099);			else {        		//graphics.beginFill(0xFFFFFF);        				//cycle++;        //if (cycle % 3 == 0) graphics.beginFill(0xff0000);        //if (cycle % 3 == 1) graphics.beginFill(0x00ff00);        //if (cycle % 3 == 2) graphics.beginFill(0x0000ff);      }			addChild(mc);         	//graphics.drawCircle(0, 0, 5);         	//graphics.endFill();		}	}	}